package com.pand.model.insurance;

import com.pand.model.BaseObject;

import javax.persistence.*;
import java.util.Date;

/**
 * 
 * @ClassName: Insurance 
 * @Description:保险
 *
 */
@Entity
@Table(name = "BIZ_INSURANCE")
@SequenceGenerator(name = "SeqInsurance", sequenceName = "SEQ_INSURANCE", allocationSize = 1)
public class Insurance extends BaseObject {

	/**
	 * 添加类成员变量的功能描述
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 可逐渐
	 */
	private Long id;
	
	/**
	 * 保险名称
	 */
	private String insuranceName;
	
	/**
	 * 保险编码
	 */
	private String insuranceCode;
	
	/**
	 * 保险类型
	 */
	private String insuranceType;
	
	/**
	 * 执行类
	 */
	private String exeClass;
	
	/**
	 * 执行参数
	 */
	private String params;
	
	/**
	 * 创建人
	 */
	private String createor;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	
	/**
	 * 是否删除
	 */
	private Integer isDeleted;
	
	@Id
	@GeneratedValue(generator = "SeqInsurance")
	@Column(name = "ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "INSURANCE_NAME")
	public String getInsuranceName() {
		return insuranceName;
	}
	public void setInsuranceName(String insuranceName) {
		this.insuranceName = insuranceName;
	}
	@Column(name = "INSURANCE_CODE")
	public String getInsuranceCode() {
		return insuranceCode;
	}
	public void setInsuranceCode(String insuranceCode) {
		this.insuranceCode = insuranceCode;
	}
	@Column(name = "INSURANCE_TYPE")
	public String getInsuranceType() {
		return insuranceType;
	}
	public void setInsuranceType(String insuranceType) {
		this.insuranceType = insuranceType;
	}
	@Column(name = "EXEC_CLASS")
	public String getExeClass() {
		return exeClass;
	}
	public void setExeClass(String exeClass) {
		this.exeClass = exeClass;
	}
	@Column(name = "PARAMS")
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	@Column(name = "CREATEOR")
	public String getCreateor() {
		return createor;
	}
	public void setCreateor(String createor) {
		this.createor = createor;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "IS_DELETED")
	public Integer getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
	
}
